﻿@*@using xConnected.Common.ExpertProfile
<label id="pageSize">@Resources.ProfilesPerPage:</label><input class="span1" data-bind="value: pageSizeMyCompanies" />
<div id="paging" class="pagination-centered">
    <ul class="pager">
        <li>
            <a id="first" href="#" data-bind="click: function() { $root.company.firstPageMyCompanies(); }">|←</a>
        </li>
        <li>
            <a id="prev" href="#" data-bind="click: function () { $root.company.previousPageMyCompanies(); }">←</a>
        </li>
        <!-- ko foreach: ko.utils.range(0, $root.company.pagesCountMyCompanies() - 1) -->
        <li>
            <a href="#" data-bind="text: ($data + 1), click: function() { $root.company.currentPageMyCompanies($data) }, css: { on: $data == $root.company.currentPageMyCompanies() }">
            </a>
        </li>
        <!-- /ko -->
        <li>
            <a id="next" title="Next Page" href="#" data-bind="click: function() { $root.company.nextPageMyCompanies(); }"> →</a>
        </li>
        <li>
            <a  id="last" title="Last Page" href="#" data-bind="click: function() { $root.company.lastPageMyCompanies(); }"> →|</a>
        </li>
    </ul>
</div>*@
